//
//  QKPicureResult.swift
//  开心很简单
//
//  Created by iMac_Kurt on 16/8/27.
//  Copyright © 2016年 Kurt_Qi. All rights reserved.
//

import UIKit

class QKPicureResult: NSObject {
    /// 提示信息
    var reason: String?
    /// 图片信息
    var result: [[String: AnyObject]]?
    
    init(dict: [String: AnyObject]) {
        super.init()
        self.setValuesForKeysWithDictionary(dict)
    }
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {}
    
    // 重写描述属性，控制台打印内容
    override var description: String {
        let keys = ["reason", "result"]
        
        return dictionaryWithValuesForKeys(keys).description
    }
}
